package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyerCarBean;
import com.project.bean.GoodsBean;
import com.project.bean.JournalBean;
import com.project.bean.SaleCarBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IGoodsMapper extends BaseMapper<GoodsBean> {

    public void updateBy(List<BuyerCarBean> carList);

    public void updateSle(List<SaleCarBean> carList);

    public void update(@Param("number") Integer number,@Param("sellPrice") Integer sellPrice);

    public void updatePrice(@Param("number") Integer number,@Param("price") Integer price);
}
